package com.wilson.integration.lease.admin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wilson.integration.lease.common.entity.ViewAppointment;
import com.wilson.integration.lease.common.entity.vo.appointment.AppointmentQueryVO;
import com.wilson.integration.lease.common.entity.vo.appointment.AppointmentVO;
import com.wilson.integration.lease.common.mapper.LeaseAgreementMapper;
import com.wilson.integration.lease.common.mapper.ViewAppointmentMapper;
import com.wilson.integration.lease.admin.service.ViewAppointmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author wilson
 * @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service实现
 * @createDate 2023-07-24 15:48:00
 */
@Service
public class ViewAppointmentServiceImpl extends ServiceImpl<ViewAppointmentMapper, ViewAppointment> implements ViewAppointmentService {

    @Resource
    private ViewAppointmentMapper viewAppointmentMapper;

    @Override
    public IPage<AppointmentVO> pageAppointmentByQuery(IPage<AppointmentVO> page, AppointmentQueryVO queryVO) {
        return viewAppointmentMapper.pageAgreementByQuery(page, queryVO);
    }
}




